#!/usr/bin/env python

__author__ = "Abhinav Sarkar"
__version__ = "0.1"
__license__ = "GNU Lesser General Public License"

METADATA = dict(
	name='audioscrobblerws',
	version='0.1.1',
	description="a pure python interface to the Audioscrobbler Webservices API",
	long_description="a pure python interface to the Audioscrobbler Webservices API",
	author="Abhinav Sarkar",
	author_email="abhinav.sarkar@gmail.com",
	maintainer="Abhinav Sarkar",
	maintainer_email="abhinav.sarkar@gmail.com",
	url="http://code.google.com/p/python-audioscrobblerws/downloads/list/",
	download_url="http://python-audioscrobblerws.googlecode.com/files/audioscrobblerws-0.1.1.tar.gz",
	packages=['audioscrobblerws'],
	license="GNU Lesser General Public License",
	keywords="audioscrobbler webservice api last.fm",
)

SETUPTOOLS_METADATA = dict(
	install_requires = ['setuptools', 'vobject', 'cElementTree', 'ElementTree', 'cStringIO'],
	include_package_data = True,
	classifiers = [
		'Development Status :: 3 - Alpha',
		'Intended Audience :: Developers',
		'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
		'Operating System :: OS Independent',
		'Programming Language :: Python',
		'Topic :: Software Development :: Libraries :: Python Modules',
		'Topic :: Multimedia :: Sound/Audio',
		'Topic :: Internet',
	],
)
def Main():
  # Use setuptools if available, otherwise fallback and use distutils
  try:
    import setuptools
    METADATA.update(SETUPTOOLS_METADATA)
    setuptools.setup(**METADATA)
  except ImportError:
    import distutils.core
    distutils.core.setup(**METADATA)

if __name__ == '__main__':
  Main()
